package site.luojie.business.user.controller.sentinel;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import site.luojie.business.user.pojo.AuthUser;
import site.luojie.common.vo.ResultVo;

/**
 * @author jie.luo
 * @since 2020/9/29
 */
public class UserSentinel {
    /**
     * BlockException 处理
     */
    public static ResultVo<AuthUser> blockException(String email, BlockException blockException) {
        return ResultVo.sentinel();
    }

    public static ResultVo<AuthUser> handlerError(String email) {
        return ResultVo.sentinel();
    }
}
